<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新浪导航栏</title>
    <style>
        a {
            text-decoration: none;
            color: #4c4c4c;
            display: inline-block;
            padding: 0 20px;
        }
        
        div {
            height: 41px;
            background-color: #fcfcfc;
            border-top: solid 3px #ff8500;
            border-bottom: solid 1px #edeef0;
            line-height: 41px;
        }
        
        a:hover {
            background-color: #4c4c4c;
            background: rgba(0, 0, 0, 0.1)
        }
    </style>
</head>



<body>
    <div>
        <a href="">设置首页</a>
        <a href="">手机新浪网</a>
        <a href="">移动客户端</a>
        <a href="">博客</a>
        <a href="">微博</a>
        <a href="">关注我</a>
    </div>



</body>

</html>